package net.posick.ws.soap;

import android.content.Intent;

/**
 * The WebServiceServer is an extension of the HttpServer that allows for Uri Patterns, HTTP Methods,
 * and HTTP Headers, such as the SOAPAction header, to be registered to an Intent.  When an HTTP 
 * request is received matching the specified criteria, the Intent is broadcast to the system, allowing
 * receivers to receive the message conveyed via the HTTP request and reply to it. 
 */
interface ISOAPServerService
{
    boolean isOnline();
    
    
    Intent lookup(in String pattern, in String action);
    
    
    String lookupUrl(in String pattern, in String action);
    
    
    String register(in String pattern, in String action, inout Intent intent);
    
    
    boolean unregister(in String pattern, in String action);
}